package cn.topcodes.tcsf.app.domain.api;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * Created by Unicorn on 2017/7/26.
 */
@Data
public class ReqModifyPassword implements Serializable {

    @Length(min = 6, max = 40, message = "密码长度为6~40个字符")
    private String oldPwd;

    @Length(min = 6, max = 40, message = "密码长度为6~40个字符")
    private String newPwd;
}
